PutStringBefore
Type
statement
Summary
Prepends Source to Target.
Syntax
put <Source> before <Target>
Description
Use to insert a string without replacement. Can be used either with a chunk expression to insert at a specified location, or without to prepend to the target string.
Parameters
Name | Type | Description |
---|---|---|
Source | An expression which evaluates to a string. | |
Target | An expression which evaluates to a string container. |
Examples
variable tVar as String
put "" into tVar
put "abc" before tVar -- tVar contains "abc"
put "lpha" before char 2 of tVar
put "eti" before char -1 of tVar -- tVar contains "alphabetic"